<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="webwork" prefix="s"%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
.field-error,.field-error ul,.field-error li,.action-error,.action-error ul,.action-error li,.action-message,.action-message ul,.action-message li
	{
	display: inline;
	padding: 0;
}

.field-error li,.action-error li,.action-message li {
	list-style: none;
}

.field-error li,.action-error li {
	color: red;
}

.action-message li {
	color: green;
}

table {
	width: 100%;
}
</style>
</head>
<body>
	<s:actionerror />
	<s:actionmessage />
	<form action="save.do" method="post">
		<s:token />
		<input type="hidden" name="id" value="<s:property value="entity.id" />" /><br>
		<s:iterator value="getClassMapping().properties" id="p">
			<s:if
				test="#p.name != \"id\" && #p.name != \"status\" && #p.name != \"createdDate\" && #p.name != \"createdUser\" && #p.name != \"updatedDate\" && #p.name != \"updatedUser\"">
				<s:property value="#p.showName" />:
				<input type="text" name="<s:property value="#p.name" />" value="<s:property value="entity[#p.name]" />" />
				<s:fielderror>
					<s:param>
						<s:property value="#p.name" />
					</s:param>
				</s:fielderror>
				<br>
			</s:if>
		</s:iterator>
		<input type="submit" value="<s:text name="text.submit" />" />
	</form>
</body>
</html>